using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MediatR;
using RBAC.ErrorCode;

namespace RBAC.Write.Api.Application.Command.ERP.SalesManagement.Return
{
    /// <summary>
    /// 审核/反审核/退回 退货通知单
    /// action: 1=审核, 0=反审核, 2=退回
    /// </summary>
    public class ApproveOrReturnReturnNoticeCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 退货通知单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 1=审核, 0=反审核, 2=退回
        /// </summary>
        public int Action { get; set; }

        /// <summary>
        /// 当前登录用户ID（由控制器从 Claims 中填充）
        /// </summary>
        public long AuditUserId { get; set; }
    }
}